//
//  UINavigationController+Orientation.m
//  BaseTdkc
//
//  Created by DavidHuang on 16/7/3.
//  Copyright © 2016年 黄栋炜. All rights reserved.
//

#import "UINavigationController+Orientation.h"

@implementation UINavigationController (Orientation)
-(NSUInteger)supportedInterfaceOrientations

{
    
    return [self.topViewController supportedInterfaceOrientations];
    
}



-(BOOL)shouldAutorotate

{
    
    return [self.topViewController shouldAutorotate];
    
}

@end
